﻿<Window x:Class="YLClient.Froms.FrmNetSetting"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="网络设置" Height="Auto" Width="Auto" Background="#FFF0F0F0" WindowStyle="SingleBorderWindow" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" SizeToContent="WidthAndHeight">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition  Width="auto"/>
            <ColumnDefinition Width="auto"/>
            <ColumnDefinition Width="auto"/>
        </Grid.ColumnDefinitions>
        
        <Label  Grid.Column="0"
            Content="服务器地址：" Height="28" Name="label1" Margin="10" />
        
        <TextBox  Grid.Column="1"
            Height="23" Name="txtAddress" Width="226" Text="" Margin="10" />
        
        <Button Grid.Column="2"
            Content="设置" Height="23" Name="btnUpdate" Width="75" Margin="10" Click="btnUpdate_Click" />

        <!--<StackPanel Height="Auto" HorizontalAlignment="Left" Margin="0" Name="stackPanel1" VerticalAlignment="Top" Width="Auto" Orientation="Horizontal">
            <Label Content="服务器地址：" Height="28" Name="label1" Margin="10" />
            <TextBox Height="23" Name="txtAddress" Width="226" Text="" Margin="10" />
            <Button Content="设置" Height="23" Name="btnUpdate" Width="75" Margin="10" Click="btnUpdate_Click" />
        </StackPanel>-->
    </Grid>
</Window>
